﻿using System;
using System.Collections.Generic;
using System.Text;

namespace duia.Canteenpay.ViewModel
{
    /// <summary>
    /// 返回模型基类
    /// </summary>
    public class BaseResponse
    {
        #region 成员变量

        /// <summary>
        /// 实体对象的创建时间
        /// </summary>
        public DateTime CreateTime { get; protected set; } = DateTime.Now;

        /// <summary>
        /// 实体对象的创建人KeyId
        /// </summary>
        public Guid CreateUserKeyId { get; protected set; }

        /// <summary>
        /// 设置创建人
        /// </summary>
        public string CreateUserName { get; protected set; }

        /// <summary>
        /// 实体对象的修改时间
        /// </summary>
        public DateTime? UpdateTime { get; protected set; }

        /// <summary>
        /// 实体对象的修改人KeyId
        /// </summary>
        public Guid? UpdateUserKeyId { get; protected set; }

        /// <summary>
        /// 实体对象的创建人KeyId
        /// </summary>
        public string UpdateUserName { get; protected set; }

        /// <summary>
        /// 实体数据对象物理删除标记
        /// </summary>
        public bool IsDelete { get; protected set; }

        #endregion
    }
}
